import { axios } from '@/utils/request'

/**
 * 商户管理
 */

export function getAllProduct (parameter) {
  return axios({
    url: '/shop/product/getAllProduct',
    method: 'get',
    params: parameter
  })
}

export function productList (parameter) {
  return axios({
    url: '/member/product/list/'+parameter.pageNum+'/'+parameter.pageSize,
    method: 'post',
    data: parameter
  })
}
